-- Orewood Reborn Init. I would like to thank desvox for making the orewood mod this one originated from.
-- Special thanks to other mod developers who used WTFPL and CC0 licenses for their mods, indirectly helping me implement features.
-- Another big thanks to the Minetest Developer Wiki and everyone maintaining it (dev.minetest.net/).
-- And thanks to rubenwardy for the modding book (rubenwardy.com/minetest_modding_book/lua_api.html).

-- Other lua files in this mod:

if(minetest.get_modpath("default")) ~= nil then
dofile(minetest.get_modpath("orewood_reborn").."/abm.lua") -- functions to sprout and grow papy
dofile(minetest.get_modpath("orewood_reborn").."/crafting.lua") -- most of the recipes are here
--dofile(minetest.get_modpath("orewood_reborn").."/defaultgen.lua") -- generates default-based stuf (doesn't seem to work on minetest 5.0.0)
dofile(minetest.get_modpath("orewood_reborn").."/fluid.lua") -- fluidwood ABMs
dofile(minetest.get_modpath("orewood_reborn").."/nodes.lua") -- all nodes are here
dofile(minetest.get_modpath("orewood_reborn").."/recipe.lua") -- recipes to craft orewood, just in case
end

dofile(minetest.get_modpath("orewood_reborn").."/compatibility.lua") -- for the other mods

if(minetest.get_modpath("moreores")) ~= nil then
dofile(minetest.get_modpath("orewood_reborn").."/moreorescomp.lua") -- for moreores
end

if(minetest.get_modpath("glooptest")) ~= nil then
dofile(minetest.get_modpath("orewood_reborn").."/glooptestcomp.lua") -- for glooptest
end

if(minetest.get_modpath("technic_worldgen")) ~= nil then
dofile(minetest.get_modpath("orewood_reborn").."/techniccomp.lua") -- for technic (technic_worldgen)
end